package com.yeskery.nut.web.demo.config;

import com.yeskery.nut.annotation.environment.ConfigurationProperties;
import lombok.Data;

/**
 * redis 配置对象
 * @author Yeskery
 * 2023/7/28
 */
@Data
@ConfigurationProperties(prefix = "redis")
public class RedisProperties {

    /**
     * redis 主机
     */
    private String host;

    /**
     * redis 端口号
     */
    private Integer port;

    /**
     * redis 数据库索引
     */
    private Integer database;

    /**
     * redis 密码
     */
    private String password;
}
